
package rhplus.acessoBD;

import java.util.Date;
import rhplus.gestor.UtensiliosParaDatas;


public class NewClass {

    public static void main(String args[]) {
        
        Date d = UtensiliosParaDatas.devolveDataEmDate("1987-01-01");
        Date c = UtensiliosParaDatas.devolveDataEmDate("1986-01-01");
        if(d.after(c)){
            System.out.println("ok");
        }
        //System.out.println("data "+ Calendar.);
    }

}
